package com.zixun.service;

import com.zixun.model.Order;
import org.springframework.data.domain.Page;

/**
 * Created by Basil on 16/8/29.
 */
public interface OrderService {

    /**
     * 通过userId查询订单列表
     * @param userId
     * @param pageIndex
     * @param countPerPage
     * @return
     */
    public Page<Order> findByUserIdPage(Integer userId,Integer pageIndex,Integer countPerPage);
}
